//
//  LunBoBean.swift
//  StudyDY
//
//  Created by yinchangming on 2018/7/6.
//  Copyright © 2018年 yinchangming. All rights reserved.
//

import UIKit

class LunBoBean: NSObject {
    
    @objc var id=0
    @objc  var main_id=0//菜单id
    @objc var pic_url=""//图片地址
    @objc  var title=""
    @objc  var room:[String:Any]?{
        didSet{
            guard  let hasRoom=room else {  return  }
            lunBoRoom=RoomList(dict: hasRoom)
        }
    }
    var lunBoRoom:RoomList?
    
    
    init(dict : [String:Any]) {
        super.init()
        setValuesForKeys(dict)
    }
    override init() {
        
    }
    override func setValue(_ value: Any?, forUndefinedKey key: String) {
        
    }
}
